package com.yxw.live_vod_facade.feign;

import com.yxw.live_vod_facade.dto.VideoCoinQueryDTO;
import com.yxw.live_vod_facade.vo.YxVideoCoinVO;
import com.yxw.yxnet_cd_center.common.dto.PageVO;
import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "live-vod-boot", contextId = "videoCoin")
public interface VideoCoinFeignClient {

    @ApiOperation(value = "视频币明细列表查询后台")
    @PostMapping(value = "/api/video_coin/get_video_coin_list_backend")
    public BaseResult<PageVO<YxVideoCoinVO>> getVideoCoinListBackend(@RequestBody VideoCoinQueryDTO dto);
}
